import React, { useEffect } from "react";
import { Html,Main,Head, NextScript } from 'next/document'



export default function Document() {

    return (
        <Html lang="en">

            <div>
                <Head>
                    <meta name="description" content="页面描述" />
                    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
                    <link rel="icon" href="/favicon.ico" type="image/x-icon"></link>
                    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
                </Head>
            </div>
            <body className="h-screen bg-mainBgColor text-mainTextColor">
                <Main />
                <NextScript />
            </body>
        </Html>
    )
}
